-
Home
-
NM Gift Registry and Wishlist Lite
-
5.11.3 (latest)
-
Code
-
Classes
- Form
| Total Complexity |
169 |
| Dependencies |
8 |
| Dependents |
5 |
| Total lines |
999 |
| Lines of code |
664 |
| Logical lines of code |
311 |
| Comment lines |
212 |
| Methods |
30 |
| Properties |
6 |
Methods 30
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_fields() |
D |
21 |
33 |
230 |
| get_fields_html() |
C |
33 |
30 |
83 |
| validate() |
C |
35 |
30 |
76 |
| modify_form_fields() |
C |
39 |
25 |
61 |
| set_values() |
S |
54 |
6 |
21 |
| sanitize() |
S |
53 |
4 |
22 |
| get_shipping_fields() |
S |
57 |
4 |
15 |
| create_radio_group_field() |
S |
49 |
3 |
28 |
| create_custom_checkbox_switch() |
S |
55 |
3 |
18 |
| __construct() |
S |
68 |
4 |
7 |
| get_submit_button() |
S |
59 |
2 |
18 |
| get_error_messages() |
S |
67 |
3 |
9 |
| verify_nonce() |
S |
65 |
3 |
8 |
| set_data() |
S |
63 |
2 |
10 |
| save() |
S |
70 |
2 |
6 |
| set_type() |
S |
80 |
1 |
3 |
| get_type() |
S |
82 |
1 |
3 |
| create_hidden_field() |
S |
74 |
1 |
4 |
| create_checkbox_switch() |
S |
78 |
1 |
3 |
| remove_optional_required_html() |
S |
71 |
1 |
5 |
| has_fields() |
S |
75 |
1 |
4 |
| get_wishlist() |
S |
82 |
1 |
3 |
| has_errors() |
S |
80 |
1 |
3 |
| get_fields_error_messages() |
S |
82 |
1 |
3 |
| get_data() |
S |
82 |
1 |
3 |
| get_hidden_fields() |
S |
74 |
1 |
4 |
| get_nonce_field() |
S |
74 |
1 |
4 |
| get_nonce_key() |
S |
76 |
1 |
4 |
| get_error_fields() |
S |
80 |
1 |
3 |
| add_error_message() |
S |
80 |
1 |
3 |